export const file = {
  data() {
    return {
      attachId: '',
      fileType: '',
      productName: '',
      fileVisible: false,
    }
  },

  methods: {
    fileDetail(row, type) {
      this.fileType = type;
      this.fileVisible = true;
      this.attachId = row.id;
      this.productName = row.productName;
    },
    updateTable() {
      this.fileVisible = false;
    },
  }
}
